<%@include file="../common/script.jsp" %>
<div id="navbar">
    <div id="dispClock">
        <script type="text/javascript" language="JavaScript">show_clock();</script>
    </div>
    <div id="dispIcons">
        <a title="<spring:message code='menu.home'/>" href="../home/index.htm" target="_self"><img src="../images/icon_home.jpg" width="16" height="19" style="float:left; border: none"/></a>
        <a title="<spring:message code='menu.changePassword'/>" href="../home/changePassword.htm" target="_self"><img src="../images/icon_password.jpg" width="16" height="19" style="float:left; border: none"/></a>
        <a title="<spring:message code='menu.logout'/>" href="../j_spring_security_logout" target="_self"><img src="../images/icon_logout.jpg" width="20" height="19" style="float:left; border: none"/></a>
    </div>
    <div id="dispUser">
        <spring:message code="curuser"/> : <c:out value="${curUser.username}"/>(<c:out value="${curUser.userId}"/>)
    </div>

    <div id='menubar'>
        <ul class="sf-menu">


            <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../hospital/showHospitals.htm"><spring:message code="menu.showHospitals"/></a></li></sec:authorize>
            <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                    <li class="current"><a href="#"><spring:message code="menu.admin"/></a>
                    </sec:authorize>
                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                    <li class="current"><a href="#"><spring:message code="menu.agent"/></a>
                    </sec:authorize>
                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                    <li class="current"><a href="#"><spring:message code="menu.client"/></a>
                    </sec:authorize>
                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                    <li class="current"><a href="#"><spring:message code="menu.centreManager"/></a>
                    </sec:authorize>
                    <ul>
                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                            <li class="current"><a href="#"><spring:message code="menu.user"/></a>
                                <ul>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../admin/userAdd.htm"><spring:message code="menu.addUser"/></a></li></sec:authorize>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../admin/userList.htm"><spring:message code="menu.listUser"/></a></li></sec:authorize>
                                    <li class="current"><a href="../home/changePassword.htm"><spring:message code="menu.changePassword"/></a></li>                            
                                </ul>
                            </li>
                        </sec:authorize>

                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                            <li><a href="#"><spring:message code="menu.city"/></a>
                                <ul>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../city/addCity.htm"><spring:message code="menu.addCity"/></a></li></sec:authorize>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../city/listCity.htm"><spring:message code="menu.listCity"/></a></li></sec:authorize>
                                    </ul>
                                </li>
                        </sec:authorize>

                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                            <li><a href="#"><spring:message code="menu.healthspringCommunityMedicalCentres"/></a>
                                <ul>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../centers/addCenters.htm"><spring:message code="menu.addHealthspringCentres"/></a></li></sec:authorize>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../centers/listCenters.htm"><spring:message code="menu.listHealthspringCentres"/></a></li></sec:authorize>
                                    </ul>
                                </li>
                        </sec:authorize>

                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                            <li><a href="#"><spring:message code="menu.geoZone"/></a>
                                <ul>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../geographicalzone/addGeographicalZoneStepOne.htm"><spring:message code="menu.addGeoZone"/></a></li></sec:authorize>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../geographicalzone/listGeographicalZone.htm"><spring:message code="menu.listGeoZone"/></a></li></sec:authorize>
                                    </ul>
                                </li>
                        </sec:authorize>

                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                            <li><a href="#"><spring:message code="menu.masterZone"/></a>
                                <ul>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../masterzone/addMasterZone.htm"><spring:message code="menu.addMasterZone"/></a></li></sec:authorize>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../masterzone/listMasterZone.htm"><spring:message code="menu.listMasterZone"/></a></li></sec:authorize>
                                    </ul>
                                </li>
                        </sec:authorize>

                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                            <li><a href="#"><spring:message code="menu.zone"/></a>
                                <ul>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../zone/addZone.htm"><spring:message code="menu.addZone"/></a></li></sec:authorize>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../zone/listZone.htm"><spring:message code="menu.listZone"/></a></li></sec:authorize>
                                    </ul>
                                </li>
                        </sec:authorize>

                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                            <li><a href="#"><spring:message code="menu.hospital"/></a>
                                <ul>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../hospital/addHospital.htm"><spring:message code="menu.addHospital"/></a></li></sec:authorize>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../hospital/listHospital.htm"><spring:message code="menu.listHospital"/></a></li></sec:authorize>

                                    </ul>
                                </li>
                        </sec:authorize>

                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                            <li><a href="#"><spring:message code="menu.ambulance"/></a>
                                <ul>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../ambulance/addAmbulance.htm"><spring:message code="menu.addAmbulance"/></a></li></sec:authorize>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../ambulance/listAmbulance.htm"><spring:message code="menu.listAmbulance"/></a></li></sec:authorize>
                                    </ul>
                                </li>
                        </sec:authorize>

                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                            <li><a href="#"><spring:message code="menu.specialistType"/></a>
                                <ul>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../specialistType/addSpecialistType.htm"><spring:message code="menu.addSpecialistType"/></a></li></sec:authorize>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../specialistType/listSpecialistType.htm"><spring:message code="menu.listSpecialistType"/></a></li></sec:authorize>
                                    </ul>
                                </li>
                        </sec:authorize>

                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                            <li><a href="#"><spring:message code="menu.exclusiveSpecialistNetwork"/></a>
                                <ul>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../appspecialist/addAppSpecialist.htm"><spring:message code="menu.addAppSpecialist"/></a></li></sec:authorize>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../appspecialist/listAppSpecialist.htm"><spring:message code="menu.listAppSpecialist"/></a></li></sec:authorize>
                                    </ul>
                                </li>
                        </sec:authorize>


                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                            <li><a href="#"><spring:message code="menu.specialist"/></a>
                                <ul>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../specialist/addSpecialist.htm"><spring:message code="menu.addSpecialist"/></a></li></sec:authorize>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../specialist/listSpecialist.htm"><spring:message code="menu.listSpecialist"/></a></li></sec:authorize>
                                    </ul>
                                </li>
                        </sec:authorize>

                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">  
                            <li><a href="#"><spring:message code="menu.locum"/></a>
                                <ul>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../locum/addLocum.htm"><spring:message code="menu.addLocum"/></a></li></sec:authorize>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../locum/listLocum.htm"><spring:message code="menu.listLocum"/></a></li></sec:authorize>

                                    </ul>
                                </li>
                        </sec:authorize>
                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"> 
                            <li><a href="#"><spring:message code="menu.zipCode"/></a>
                                <ul>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../hospital/addZipCode.htm"><spring:message code="menu.addZipCode"/></a></li></sec:authorize>
                                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../hospital/listZipCode.htm"><spring:message code="menu.listZipCode"/></a></li></sec:authorize>

                                    </ul>
                                </li>
                        </sec:authorize>
                        <li>
                            <a href="#"><spring:message code="menu.partner"/></a>
                            <ul>
                                <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../partner/addPartner.htm"><spring:message code="menu.addPartner"/></a></li></sec:authorize>
                                <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../partner/listPartner.htm"><spring:message code="menu.listPartner"/></a></li></sec:authorize>
                                </ul>
                            </li>

                            <li>
                                <a href="#"><spring:message code="menu.vendor"/></a>
                            <ul>
                                <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"> <li><a href="../vendor/addVendor.htm"><spring:message code="menu.addVendor"/></a></li></sec:authorize>
                                <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../vendor/listVendor.htm"><spring:message code="menu.listVendor"/></a></li></sec:authorize>
                                </ul>
                            </li>
                            <li>
                                <a href="#"><spring:message code="menu.healthSpringContact"/></a>
                            <ul>
                                <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"> <li><a href="../admin/addHealthSpringContact.htm"><spring:message code="menu.addHealthSpringContact"/></a></li></sec:authorize>
                                <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../admin/listHealthSpringContact.htm"><spring:message code="menu.listHealthSpringContact"/></a></li></sec:authorize>

                                    <li>
                                        <a href="#"><spring:message code="menu.designation"/></a>
                                    <ul>
                                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"> <li><a href="../designation/addDesignation.htm"><spring:message code="menu.addDesignation"/></a></li></sec:authorize>
                                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../designation/listDesignation.htm"><spring:message code="menu.listDesignation"/></a></li></sec:authorize>
                                        </ul>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                    </li>
            </sec:authorize>

            <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">  
                <li class="current"><a href="#"><spring:message code="menu.search"/></a>
                    <ul>
                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../hospital/searchResultOnZipCode.htm"><spring:message code="menu.searchOnZipCode"/></a></li></sec:authorize>
                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li><a href="../customer/searchCustomerCommonHeader.htm"><spring:message code="menu.searchCustomer"/></a></li></sec:authorize>
                        </ul>

                    </li>
            </sec:authorize>


            <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">  
                <li class="current"><a href="#"><spring:message code="menu.callLog"/></a>
                    <ul>
                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li class="current"><a href="#"><spring:message code="menu.createLog"/></a></li></sec:authorize>
                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li class="current"><a href="../customer/followupListForTicket.htm"><spring:message code="menu.followupList"/></a></li></sec:authorize>
                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li class="current"><a href="../reports/callLogReports.htm"><spring:message code="menu.reports"/></a></li></sec:authorize>
                        <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME"><li class="current"><a href="../reports/smsReport.htm"><spring:message code="menu.smsReport"/></a></li></sec:authorize>
                        </ul>
                    </li>
            </sec:authorize>
            <li class="current"><a href="#"><spring:message code="menu.customerAndCorporate"/></a>
                <ul>
                    <li class="current"><a href="#"><spring:message code="menu.customer"/></a>
                        <ul>
                            <li class="current"><a href="../customer/addCustomer.htm"><spring:message code="menu.addCustomer"/></a></li>
                        </ul>
                    </li>
                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                        <li class="current"><a href="#"><spring:message code="menu.corporate"/></a>
                            <ul>
                                <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                                    <li class="current"><a href="../corporate/addCorporate.htm"><spring:message code="menu.addCorporate"/></a></li>
                                </sec:authorize>
                                <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                                    <li class="current"><a href="../corporate/listCorporate.htm"><spring:message code="menu.listCorporate"/></a></li>
                                </sec:authorize>

                            </ul>
                        </li>
                    </sec:authorize>
                    <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                        <li class="current"><a href="#"><spring:message code="menu.corporateCustomer"/></a>
                            <ul>
                                <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                                    <li class="current"><a href="../corporate/addCorporateCustomer.htm"><spring:message code="menu.addCorporateCustomer"/></a></li>
                                </sec:authorize>
                                <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                                    <li class="current"><a href="../corporate/listCorporateCustomer.htm"><spring:message code="menu.listCorporateCustomer"/></a></li>
                                </sec:authorize>
                                <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                                    <li class="current"><a href="../corporate/uploadCorporateCustomer.htm"><spring:message code="menu.uploadCorporateCustomer"/></a></li>
                                </sec:authorize>
                            </ul>
                        </li>
                    </sec:authorize>
                </ul>
            </li>
            <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
                <li class="current"><a href="#"><spring:message code="menu.sendMessage"/></a>
                    <ul>
                        <li class="current"><a href="../message/sendMessageToAgent.htm"><spring:message code="menu.sendMsgToAgent"/></a></li>
                    </ul>
                </li>
            </sec:authorize>

            <%--                <li class="current"/><a href="#">Send Email</a>
                                <ul>
                                    <li class="current"><a href="../email/selectEmailTemplateForDoctor.htm">Send Email to Doctor</a></li>
                                </ul>--%>

            <!--                 <li class="current"><a href="#">Edit Customer</a>
                            <ul>
                                <li class="current"><a href="../customer/editCustomer.htm">Edit Customer</a></li>
                            </ul>-->

            <sec:authorize ifAnyGranted="ROLE_BF_SHOW_HOME">
   <c:if test="${unreadCount==0}">
                    <li class="current"><a href="#"><spring:message code="menu.showMessage"/></a></li>
                </c:if>
                <ul>
                    <li class="current"><a href="../message/showMessageToAgent.htm"><spring:message code="menu.showMsgToAgent"/></a></li>
                </ul>
            </sec:authorize>  
            <li class="current">
                <%--<a href="http://hsmanual.altius.cc" target="_blank"><spring:message code="menu.help"/></a> --%>
                <a href="#"><spring:message code="menu.help"/></a>
                <ul>
                    <li><a href="http://hsmanual.altius.cc" target="_blank"><spring:message code="trainingPresentation"/></a></li>
                    <li><a href="../help/telehealthProtocols.htm" target="_blank"><spring:message code="telehealthProtocols"/></a></li>
                    <li><a href="../help/scopeDocumet.htm">Scope Documents</a></li>
                    <li><a href="../help/planDocument.htm">Membership Plans</a></li>

                </ul>
            </li>
        </ul>
    </div>
</div>
